from selenium.webdriver.common.by import By
# 配置文件：页面的元素信息
username = (By.ID, 'id_username') # 用户名文本框
password = (By.ID, 'id_password') # 密码框
login_btn = (By.CSS_SELECTOR, '[value="登录"]') # 登录按钮
login_result = (By.CSS_SELECTOR, '.errornote') # 登录结果